places sidebar: use a box
authorMatthias Clasen <mclasen@redhat.com>
Mon, 15 Feb 2016 13:02:27 +0000 (08:02 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Feb 2016 13:19:25 +0000 (08:19 -0500)
No need for a grid here. Patch by Timm Bäder.

gtk/ui/gtksidebarrow.ui

index 92fcf86508d31c06b06b675b1aece6f3b915cf51..861979b717634dcf1e7c1eba6ab5b9034b5e2068 100644 (file)
@@ -19,7 +19,7 @@
           <object class="GtkEventBox" id="event_box">
             <property name="visible">1</property>
             <child>
-              <object class="GtkGrid">
+              <object class="GtkBox">
                 <property name="visible">1</property>
                 <child>
                   <object class="GtkImage" id="icon_widget">
                       <class name="sidebar-icon"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkLabel" id="label_widget">
                       <class name="sidebar-label"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">1</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkButton" id="eject_button">
                       <class name="sidebar-button"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">2</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
               </object>
             </child>